package com.android.gtravelling;

public class Employee {
	private String name = "";
	private String phone = "";
	private String email = "";
	private boolean checked = false;

	public Employee() {
	}

	public Employee(String name) {
		this.name = name;
	}

	public Employee(String name, boolean checked) {
		this.name = name;
		this.checked = checked;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String pPhone) {
		this.phone = pPhone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String pEmail) {
		this.email = pEmail;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String toString() {
		return name;
	}

	public void toggleChecked() {
		checked = !checked;
	}
}